package io.lkt.modules.sys.dao;

import io.lkt.modules.sys.entity.BOrderInfoEntity;
import io.lkt.modules.sys.entity.BUserWithdrawLogEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 提现申请记录
 * 
 * @author xss
 * @email dustwas@163.com
 * @date 2019-04-29 16:09:12
 */
@Mapper
public interface BUserWithdrawLogDao extends BaseMapper<BUserWithdrawLogEntity> {
    List<BUserWithdrawLogEntity> queryList(Map<String,Object> map);

    Integer queryTotal(Map<String,Object> map);

    List<BUserWithdrawLogEntity> getWithdrawByUserId(Map<String, Object> params);

    int getWithdrawByUserIdTotal(Map<String, Object> params);

    BUserWithdrawLogEntity getLatestWithdrawal(Map<String, Object> map);
}
